On the extension of the polytope model to particular non-affine transformations
نویسنده
چکیده
The polytope model combines a set of methods and approaches based on a mathematical model to define a new general framework for automatic loop parallelization. The parallelization of n nested loops in this model proceeds in three steps: first modeling the loop nest by a convex polytope, second applying an affine coordinate transformation i.e. finding a schedule " t " and an allocation " a " on the index space I which must be both affine. Mathematically, this is expressed as follows:∀ x∈I, t (x) = λx+α (λ ∈ Z r ×Z n , α∈ Z r) and ∀ x ∈ I, a (x) = σx+β (σ∈Z n-r ×Z n , β∈ Z n-r). T, the matrix constituted by the r rows of λ followed by the n-r rows of σ, is the requested affine transformation. Once the schedule is determined, the allocation must be chosen in a way such that the transformation is invertible (|T|≠ 0). The target polytope is then expressed as (AT-1 , b); A is the integer matrix associated to the source polytope Ax ≤ b denoted (A, b). The third step is translating this polytope back into a nest of target loops. Recently, the basic model [3] was extended to permit the use of both affine by statement and piece-wise affine functions for schedules and allocations, and to deal with singular matrices [1]. In this paper, we propose another extension of the polytope model to permit the use of a particular class of non-affine space/time mapping transformations, we define as follows: T = if i ∈ I 1 then T 1 : if i ∈ I m then T m Where {I 1 , I 2 ,…,I m } is a partition of I and T 1 , T 2 ,…,T m are different affine transformations. Every subset I k (1≤k≤m) is characterized by a logical condition C k. Notice here that a subset I k may not be a polytope, thus it can't be treated by the polytope model. We then propose the following solution: for each k (1≤k≤m), we apply the polytope model on the whole iteration space I, using T k. Then, when generating the target program, we use C k to select only iterations corresponding to the image of I k , i.e. if I k = {x ∈ I / C k (x)} then T k (I k) = {x …
منابع مشابه
Compensation of brain shift during surgery using non-rigid registration of MR and ultrasound images
Background: Surgery and accurate removal of the brain tumor in the operating room and after opening the scalp is one of the major challenges for neurosurgeons due to the removal of skull pressure and displacement and deformation of the brain tissue. This displacement of the brain changes the location of the tumor relative to the MR image taken preoperatively. Methods: This study, which is done...
متن کاملA New Memory-Saving Technique to Map System of Affine Recurrence Equations (SARE) onto Distributed Memory Systems
In this work we present a procedure for automatic parallel code generation in the case of algorithms described through Set of Affine Recurrence Equations (SARE); starting from the original SARE description in an N-dimensional iteration space, the algorithm is converted into a parallel code for an m-dimensional distributed memory parallel machine (m < N). The used projection technique is based o...
متن کاملPolyhedral Abstract Interpretation
The polyhedral model is a collection of techniques developed around a common intermediate representation of programs : integer polyhedra. Such a mathematical representation of programs inherits nice structural properties. For instance, when loop transformations are represented as affine functions, compositions of transformations are also affine functions due to their closure properties. The pol...
متن کاملPassivity-Based Stability Analysis and Robust Practical Stabilization of Nonlinear Affine Systems with Non-vanishing Perturbations
This paper presents some analyses about the robust practical stability of a class of nonlinear affine systems in the presence of non-vanishing perturbations based on the passivity concept. The given analyses confirm the robust passivity property of the perturbed nonlinear systems in a certain region. Moreover, robust control laws are designed to guarantee the practical stability of the perturbe...
متن کاملPolyhedral Transformations of Explicitly Parallel Programs
The polyhedral model is a powerful algebraic framework that has enabled significant advances to analyses and transformations of sequential affine (sub)programs, relative to traditional AST-based approaches. However, given the rapid growth of parallel software, there is a need for increased experiences with using polyhedral frameworks for analysis and transformations of explicitly parallel progr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999